import request from 'src/utils/request'
// 获取所属项目
export function getProjectList(data) {
    return request({
        url: '/resource/village/query',
        method: 'post',
        data
    })
}
//  项目积分报表-列表
export function proListApi(data) {
    return request({
        url: '/point/statistics/village/point/statement',
        method: 'post',
        data
    })
}

//  项目积分报表-导出
export function proExportApi(data) {
    return request({
        url: '/point/statistics/village/export',
        type: 'export',
        method: 'post',
        data
    })
}
//  用户积分报表-列表
export function userListApi(data) {
    return request({
        url: '/point/statistics/user/point/statement',
        method: 'post',
        data
    })
}

//  用户积分报表-导出
export function userExportApi(data) {
    return request({
        url: '/point/statistics/user/export',
        type: 'export',
        method: 'post',
        data
    })
}